/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 获取 POST /api/logLogin/getData */
export async function apiLogLoginGetDataUsingPost({
  body,
  options,
}: {
  body: API.ApiLogLoginBoApiLogLoginGetData;
  options?: { [key: string]: unknown };
}) {
  return request<API.RApiLogLogin>('/api/logLogin/getData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 分页查询 POST /api/logLogin/pageData */
export async function apiLogLoginPageDataUsingPost({
  body,
  options,
}: {
  body: API.ApiLogLoginBoApiLogLoginPageData;
  options?: { [key: string]: unknown };
}) {
  return request<API.RPageDataVoApiLogLogin>('/api/logLogin/pageData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
